<%@ Page language="C#"   Inherits="ARF.Publishing.Web.Controls.ARFPublishingPage,ARF.Publishing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=fed9cbb14b1dc0f0" %>
<%@ Register Tagprefix="SharePointWebControls" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="PublishingWebControls" Namespace="Microsoft.SharePoint.Publishing.WebControls" Assembly="Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="PublishingNavigation" Namespace="Microsoft.SharePoint.Publishing.Navigation" Assembly="Microsoft.SharePoint.Publishing, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

<%@ Register Tagprefix="ARF" Namespace="ARF.Web.Controls" Assembly="ARF, Version=1.0.0.0, Culture=neutral, PublicKeyToken=fed9cbb14b1dc0f0" %>
<%@ Register Tagprefix="ARFFields" Namespace="ARF.Web.Fields" Assembly="ARF, Version=1.0.0.0, Culture=neutral, PublicKeyToken=fed9cbb14b1dc0f0" %>

<asp:Content ContentPlaceholderID="PlaceHolderPageTitle" runat="server">
	<SharePointWebControls:FieldValue id="PageTitle" FieldName="Title" runat="server"/>
</asp:Content>

<asp:Content ContentPlaceholderID="PlaceHolderAdditionalPageHead" runat="server">
<style type="text/css">
#centercontent {
margin-left: 5px !important;
}
</style>
</asp:Content>

<asp:Content ContentPlaceholderID="PlaceHolderTitleBreadcrumb" runat="server" />
<asp:Content ContentPlaceholderID="LeftNavigation" runat="server" />

<asp:Content ContentPlaceholderID="PlaceHolderMain" runat="server">

	<p>
		<ARF:CompatibilityPanel AACompliant="True" XhtmlCompliant="True" runat="server" RemoveHtmlFieldDivs="True" RemoveWordMarkup="True">
			<PublishingWebControls:RichHtmlField ID="RichHtmlField1" FieldName="MainContent" runat="server"></PublishingWebControls:RichHtmlField>
		</ARF:CompatibilityPanel>
	</p>

	<div class="homePanel">
		<div class="panelHead">Upcoming Events</div>
		<ARF:SiteQuery runat="server" ServerTemplate="850" Xsl-XslName="default.xsl" RowLimit="100" Webs="<Webs Scope='Recursive' />"
			Query="<Where><Eq><FieldRef Name='ContentType'/><Value Type='Text'>EventsPage</Value></Eq></Where><OrderBy><FieldRef Name='Modified' Ascending='FALSE'/></OrderBy>"/>
	</div>
	
	<div class="homePanel">
		<div class="panelHead">Latest News</div>
		<ARF:SiteQuery runat="server" ServerTemplate="850" Xsl-XslName="default.xsl" RowLimit="100" Webs="<Webs Scope='Recursive' />"
			Query="<Where><Eq><FieldRef Name='ContentType'/><Value Type='Text'>NewsPage</Value></Eq></Where><OrderBy><FieldRef Name='Modified' Ascending='FALSE'/></OrderBy>"/>
	</div>
	
	<div class="homePanel">
		<div class="panelHead">Recent FAQs</div>
		<ARF:SiteQuery runat="server" ServerTemplate="850" Xsl-XslName="default.xsl" RowLimit="100" Webs="<Webs Scope='Recursive' />"
			Query="<Where><Eq><FieldRef Name='ContentType'/><Value Type='Text'>FAQPage</Value></Eq></Where><OrderBy><FieldRef Name='Modified' Ascending='FALSE'/></OrderBy>"/>
	</div>

	<ARF:SiteQuery runat="server" ServerTemplate="850" Xsl-XslName="HomeSections.xsl" RowLimit="100" Webs="<Webs Scope='Recursive' />"
		ViewFields = "<FieldRef Name='Title' /><FieldRef Name='ID' /><FieldRef Name='FileRef' /><FieldRef Name='ContentType' /><FieldRef Name='ContentTypeId' /><FieldRef Name='PublishingRollupImage' /><FieldRef Name='ArticleSynopsis'/>"
		Query="<Where><Eq><FieldRef Name='ContentType'/><Value Type='Text'>SectionLandingPage</Value></Eq></Where><OrderBy><FieldRef Name='Modified' Ascending='FALSE'/></OrderBy>"/>

</asp:Content>

